package com.appkudos;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class App extends Activity {
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // set content view to apps_view xml
        setContentView(R.layout.app); 
        TextView tv = (TextView) findViewById(R.id.app_app_name);
        
        Intent launchIntent = getIntent();
        Bundle extras = launchIntent.getExtras();
        if(extras !=null)
        {
        	String name = extras.getString("app_name");
        	tv.setText(name);
        }else{
        	tv.setText("o");
        }

    }
}
